/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.max.cjs.service.implement;

import java.util.List;
import org.max.cjs.dao.interfac.ISystemUserDao;
import org.max.cjs.model.ext.SystemUser;
import org.max.cjs.service.interfac.ISystemUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 *
 * @author user
 */
public class SystemUserService implements ISystemUserService{
    
    @Autowired
    @Qualifier("systemUserDao")
    ISystemUserDao systemUserDao;
    
    @Override
    public List<SystemUser> getByCredential(String user, String password) throws Exception {
        return systemUserDao.getByCredential(user, password);
    }
    
}
